package com.hello.pet.service.system.mapper;

import com.hello.pet.service.system.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author hello
 * @since 2022-04-01
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 根据用户名称查询用户的接口权限
     * @param username
     * @return
     */
    Set<String> getInterfacePermissionsByUserName(String username);
}
